using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;

namespace StructureMap.WcfIntegration
{
public class InstanceContextCacheInitializer : IInstanceContextInitializer
{
    public void Initialize(InstanceContext instanceContext, Message message)
    {
        instanceContext.Extensions.Add(new WCFContextCacheExtension());
    } 
}
}